package ${ViewRootPackage};

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import org.springframework.beans.BeanUtils;
import java.time.LocalDateTime;
/**
 * <p>
 * ${table.comment!}列表视图
 * </p>
 * @author ${author}
 * @since ${date}
 */
@Data
@ApiModel("${table.comment!}列表视图")
public class ${entity}View {
<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>
    <#if field.keyFlag>
        <#assign keyPropertyName="${field.propertyName}"/>
    </#if>
   <#if field.propertyName!='id' && field.propertyName!='isEnabled' && field.propertyName!='createdBy' && field.propertyName!='createdTime' && field.propertyName!='updatedBy' && field.propertyName!='updatedTime'>
    /**
    * ${field.comment!field.propertyName}
    */
    @ApiModelProperty(value="${field.comment!field.propertyName}")
    private ${field.propertyType} ${field.propertyName};

    </#if>
</#list>
<#------------  END 字段循环遍历  ---------->

}
